]> dgit.raspbian.org Git - gnome-shell.git/commit
st: Don't try to create shadow for empty texture
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 29 Jun 2017 22:06:53 +0000 (00:06 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 5 Jul 2017 15:10:07 +0000 (17:10 +0200)
commitd1c71fd00d82b517da439a36ce86ca403c645fa2
treec3bda5517104169eb5590aac54984009731711a5
parent292ac413c80f3fdd907dec14468638647de2466e
st: Don't try to create shadow for empty texture

Even though the API documentation doesn't say so, the underlying
Cogl texture of a ClutterTexture may be unset, so check for that
case to avoid a runtime warning.

https://bugzilla.gnome.org/show_bug.cgi?id=784353
src/st/st-private.c